<div class="row-fluid">
    <div class="span8">
        <table class="table table-striped table-bordered table-condensed">
            <thead>
                <tr>
                    <th>Judul</th>
                    <th>Tanggal</th>
                    <th>Write</th>
                    <th>Action</th>
                </tr>
            </thead>
            <tbody>
                <?php $no = $this->uri->segment(1) + 1; ?>
                <?php foreach ($berita as $pd) : ?>
                    <tr>
                        <td><strong><?php echo anchor('admin/berita_detail/'.$pd->id, $pd->judul) ?></strong></td>
                        <td><?php echo $pd->tgl ?></td>
                        <td><?php echo $pd->user_id ?></td>
                        <td>
                            <?php
                            echo anchor('admin/ubah_berita/' . $pd->id, '<i class="icon-pencil tool"></i>', 'alt="Hapus"');
                            echo ' | ';
                            echo anchor('admin/del_berita/' . $pd->id, '<i class="icon-remove tool"></i>', 'alt="Hapus"')
                            ?>
                        </td>
                    </tr>
                    <?php $no++ ?>
                <?php endforeach; ?>
            </tbody>
        </table>
        <?php echo $this->pagination->create_links(); ?>
    </div>
</div><!--/row-->
</div><!--/span-->
</div>